// AddBotQuestionCommand.java
package com.agileboot.domain.bot.botQuestion.command;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;
import lombok.Data;

@Data
public class AddBotQuestionCommand {

    @NotBlank(message = "问题不能为空")
    @Size(max = 2048)
    private String question;

    @NotBlank(message = "答案不能为空")
    @Size(max = 2048)
    private String answer;

    private String createUser;
}
